3.2.43 \(\int \frac {\sqrt {a+b x^2}}{\sqrt {a^2-b^2 x^4}} \, dx\)

Optimal. Leaf size=65 \[ \frac {\sqrt {a-b x^2} \sqrt {a+b x^2} \tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a-b x^2}}\right )}{\sqrt {b} \sqrt {a^2-b^2 x^4}} \]

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 65, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 28, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.107, Rules used = {1152, 217, 203} \begin {gather*} \frac {\sqrt {a-b x^2} \sqrt {a+b x^2} \tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a-b x^2}}\right )}{\sqrt {b} \sqrt {a^2-b^2 x^4}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[Sqrt[a + b*x^2]/Sqrt[a^2 - b^2*x^4],x]

[Out]

(Sqrt[a - b*x^2]*Sqrt[a + b*x^2]*ArcTan[(Sqrt[b]*x)/Sqrt[a - b*x^2]])/(Sqrt[b]*Sqrt[a^2 - b^2*x^4])

Rule 203

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1*ArcTan[(Rt[b, 2]*x)/Rt[a, 2]])/(Rt[a, 2]*Rt[b, 2]), x] /;
 FreeQ[{a, b}, x] && PosQ[a/b] && (GtQ[a, 0] || GtQ[b, 0])

Rule 217

Int[1/Sqrt[(a_) + (b_.)*(x_)^2], x_Symbol] :> Subst[Int[1/(1 - b*x^2), x], x, x/Sqrt[a + b*x^2]] /; FreeQ[{a,
b}, x] &&  !GtQ[a, 0]

Rule 1152

Int[((d_) + (e_.)*(x_)^2)^(q_)*((a_) + (c_.)*(x_)^4)^(p_), x_Symbol] :> Dist[(a + c*x^4)^FracPart[p]/((d + e*x
^2)^FracPart[p]*(a/d + (c*x^2)/e)^FracPart[p]), Int[(d + e*x^2)^(p + q)*(a/d + (c*x^2)/e)^p, x], x] /; FreeQ[{
a, c, d, e, p, q}, x] && EqQ[c*d^2 + a*e^2, 0] &&  !IntegerQ[p]

Rubi steps

\begin {align*} \int \frac {\sqrt {a+b x^2}}{\sqrt {a^2-b^2 x^4}} \, dx &=\frac {\left (\sqrt {a-b x^2} \sqrt {a+b x^2}\right ) \int \frac {1}{\sqrt {a-b x^2}} \, dx}{\sqrt {a^2-b^2 x^4}}\\ &=\frac {\left (\sqrt {a-b x^2} \sqrt {a+b x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{1+b x^2} \, dx,x,\frac {x}{\sqrt {a-b x^2}}\right )}{\sqrt {a^2-b^2 x^4}}\\ &=\frac {\sqrt {a-b x^2} \sqrt {a+b x^2} \tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a-b x^2}}\right )}{\sqrt {b} \sqrt {a^2-b^2 x^4}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [C]  time = 0.04, size = 50, normalized size = 0.77 \begin {gather*} \frac {i \log \left (\frac {2 \sqrt {a^2-b^2 x^4}}{\sqrt {a+b x^2}}-2 i \sqrt {b} x\right )}{\sqrt {b}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[Sqrt[a + b*x^2]/Sqrt[a^2 - b^2*x^4],x]

[Out]

(I*Log[(-2*I)*Sqrt[b]*x + (2*Sqrt[a^2 - b^2*x^4])/Sqrt[a + b*x^2]])/Sqrt[b]

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 1.33, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {a+b x^2}}{\sqrt {a^2-b^2 x^4}} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

IntegrateAlgebraic[Sqrt[a + b*x^2]/Sqrt[a^2 - b^2*x^4],x]

[Out]

Defer[IntegrateAlgebraic][Sqrt[a + b*x^2]/Sqrt[a^2 - b^2*x^4], x]

________________________________________________________________________________________

fricas [A]  time = 1.02, size = 121, normalized size = 1.86 \begin {gather*} \left [-\frac {\sqrt {-b} \log \left (-\frac {2 \, b^{2} x^{4} + a b x^{2} - 2 \, \sqrt {-b^{2} x^{4} + a^{2}} \sqrt {b x^{2} + a} \sqrt {-b} x - a^{2}}{b x^{2} + a}\right )}{2 \, b}, -\frac {\arctan \left (\frac {\sqrt {-b^{2} x^{4} + a^{2}} \sqrt {b x^{2} + a} \sqrt {b}}{b^{2} x^{3} + a b x}\right )}{\sqrt {b}}\right ] \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x^2+a)^(1/2)/(-b^2*x^4+a^2)^(1/2),x, algorithm="fricas")

[Out]

[-1/2*sqrt(-b)*log(-(2*b^2*x^4 + a*b*x^2 - 2*sqrt(-b^2*x^4 + a^2)*sqrt(b*x^2 + a)*sqrt(-b)*x - a^2)/(b*x^2 + a
))/b, -arctan(sqrt(-b^2*x^4 + a^2)*sqrt(b*x^2 + a)*sqrt(b)/(b^2*x^3 + a*b*x))/sqrt(b)]

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {b x^{2} + a}}{\sqrt {-b^{2} x^{4} + a^{2}}}\,{d x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x^2+a)^(1/2)/(-b^2*x^4+a^2)^(1/2),x, algorithm="giac")

[Out]

integrate(sqrt(b*x^2 + a)/sqrt(-b^2*x^4 + a^2), x)

________________________________________________________________________________________

maple [A]  time = 0.02, size = 69, normalized size = 1.06 \begin {gather*} \frac {\sqrt {-b^{2} x^{4}+a^{2}}\, \arctan \left (\frac {\sqrt {b}\, x}{\sqrt {\frac {\left (-b x +\sqrt {a b}\right ) \left (b x +\sqrt {a b}\right )}{b}}}\right )}{\sqrt {b \,x^{2}+a}\, \sqrt {-b \,x^{2}+a}\, \sqrt {b}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*x^2+a)^(1/2)/(-b^2*x^4+a^2)^(1/2),x)

[Out]

1/(b*x^2+a)^(1/2)*(-b^2*x^4+a^2)^(1/2)*arctan(1/((-b*x+(a*b)^(1/2))*(b*x+(a*b)^(1/2))/b)^(1/2)*b^(1/2)*x)/(-b*
x^2+a)^(1/2)/b^(1/2)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {b x^{2} + a}}{\sqrt {-b^{2} x^{4} + a^{2}}}\,{d x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x^2+a)^(1/2)/(-b^2*x^4+a^2)^(1/2),x, algorithm="maxima")

[Out]

integrate(sqrt(b*x^2 + a)/sqrt(-b^2*x^4 + a^2), x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {\sqrt {b\,x^2+a}}{\sqrt {a^2-b^2\,x^4}} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b*x^2)^(1/2)/(a^2 - b^2*x^4)^(1/2),x)

[Out]

int((a + b*x^2)^(1/2)/(a^2 - b^2*x^4)^(1/2), x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {a + b x^{2}}}{\sqrt {- \left (- a + b x^{2}\right ) \left (a + b x^{2}\right )}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x**2+a)**(1/2)/(-b**2*x**4+a**2)**(1/2),x)

[Out]

Integral(sqrt(a + b*x**2)/sqrt(-(-a + b*x**2)*(a + b*x**2)), x)

________________________________________________________________________________________